#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>

using namespace std;

int main(int argc, char *argv[])
{
    ifstream archEnt("entrada.in");
    
    string funcion;
    
    int col=0, fil=0;

    cout << "ingrese columnas: " << endl;
    cin >> col;
    cout << "ingrese filas: " << endl;
    cin >> fil;
    
    ofstream archSal("salida.out");
    
    for(int i=0; i < fil; i++)//Recorro por filas
        for(int j=0; j < col; j++)
        {
            archEnt >> funcion;
            archSal << "funciones[" << i << "]" << "[" << j << "] = " << funcion << ";" << endl;
        }

    system("PAUSE");
    return EXIT_SUCCESS;
}
